<script setup></script>
<template>
  <h1>父组件</h1>
  <p>
    <router-link to="/one">打开组件1</router-link> <br />
    <router-link to="/two">打开组件2</router-link>
  </p>
  <div>
    <router-view></router-view>
  </div>
</template>
